+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
+Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
+ gdk_window_get_origin() instead of gdk_window_get_position,
+ because get_position is unreliable for plugs.
+
+ This is a bad hack, maybe we need GDK_WINDOW_PLUG?
+
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
/* Define if you have the <wctype.h> header file. */
#undef HAVE_WCTYPE_H
-
-/* Define if you have the X11 library (-lX11). */
-#undef HAVE_LIBX11
if (event->type == GDK_DROP_START)
info->dropped = TRUE;
- gdk_window_get_position (toplevel->window, &tx, &ty);
+ gdk_window_get_origin (toplevel->window, &tx, &ty);
data.x = event->dnd.x_root - tx;
data.y = event->dnd.y_root - ty;